.vipContainer {
    background-color: #fff;
    min-height: 100vh;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}paymentFooter

.header {
    display: flex;
    align-items: center;
    padding: 0.9375rem;
    position: relative;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.backIcon {
    font-size: 1.25rem;
    margin-left: 1rem;
    margin-top: 1rem;
}

.title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    text-align: center;
}

.time {
    font-size: 0.875rem;
    color: #666;
    position: absolute;
    right: 0.9375rem;
}

.userInfo {
    display: flex;
    padding: 1.25rem 0.9375rem;
    align-items: center;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.avatarContainer {
    margin-right: 0.9375rem;
}

.avatar {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
}

.userDetail {
    flex: 1;
}

.username {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.3125rem;
}

.memberInfo {
    font-size: 0.875rem;
    color: #666;
}

.memberType {
    background-color: #ffd700;
    color: #333;
    padding: 0.125rem 0.5rem;
    border-radius: 0.625rem;
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

.expireDate {
    font-size: 0.75rem;
}

.actionButtons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.purchaseRecord {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.625rem;
}

.renewButton {
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 0.9375rem;
    padding: 0.3125rem 0.75rem;
    font-size: 0.75rem;
}

.memberTabs {
    display: flex;
    padding: 0.9375rem;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.tabItem {
    flex: 1;
    text-align: center;
    padding: 0.625rem 0;
    font-size: 0.875rem;
    color: #666;
}

.tabItem.active {
    color: #ff4d4f;
    font-weight: 600;
    position: relative;
}

.tabItem.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1.875rem;
    height: 0.1875rem;
    background-color: #ff4d4f;
    border-radius: 0.1875rem;
}

.privilegeSection {
    padding: 0.9375rem;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.sectionTitle {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.9375rem;
}

.privilegeList {
    display: flex;
    justify-content: space-between;
}

.privilegeItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.privilegeIcon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.privilegeText {
    font-size: 0.75rem;
    color: #666;
}

.priceSection {
    display: flex;
    padding: 0.9375rem;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.priceOption {
    flex: 1;
    text-align: center;
    padding: 0.9375rem 0;
    margin: 0 0.3125rem;
    border: 0.0625rem solid rgb(175, 173, 173);
    border-radius: 0.5rem;
    position: relative;
}

/* .priceOption.recommended {
    border-color: #ff4d4f;
} */

.duration {
    font-size: 0.875rem;
    margin-bottom: 0.3125rem;
}

.price {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ff4d4f;
}

.del {
    font-size: 0.75rem;
    color: rgb(161, 153, 153);
}

.recommendTag {
    position: absolute;
    top: -0.625rem;
    right: 0.625rem;
    background-color: #ff4d4f;
    color: white;
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.625rem;
}

.subscribeButton {
    display: block;
    width: 90%;
    margin: 1.25rem auto;
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 1.5625rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.agreementLinks {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1.25rem;
}

.couponSection {
    padding: 0.9375rem;
    background-color: #f9f9f9;
}

.couponHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9375rem;
}

.moreLink {
    font-size: 0.75rem;
    color: #666;
}

.couponProgress {
    display: flex;
    margin-bottom: 0.9375rem;
}

.weekTab {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.75rem;
    color: #666;
    border-bottom: 0.125rem solid #ddd;
}

.weekTab.active {
    color: #ff4d4f;
    border-bottom-color: #ff4d4f;
}

.couponInfo {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.9375rem;
    text-align: center;
}

.couponList {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.couponItem {
    display: flex;
    background-color: white;
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 0.0625rem solid #eee;
}

.couponItem.used {
    opacity: 0.6;
}

.couponAmount {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff4d4f;
    margin-right: 0.9375rem;
    min-width: 3.125rem;
}

.couponDetail {
    flex: 1;
}

.couponTitle {
    font-size: 0.875rem;
    margin-bottom: 0.3125rem;
}

.couponStatus {
    font-size: 0.75rem;
    color: #999;
}

.couponAction {
    font-size: 0.75rem;
    color: #ff4d4f;
    font-weight: 600;
}

/* 以下是需要添加到 VipPage.module.css 中的样式 */
.priceOption {
    padding: 1rem; 
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem; 
    margin-bottom: 0.75rem; 
    cursor: pointer;
    transition: border-color 0.2s;
}

.priceOption:hover {
    border-color: #f87171;
}

.selected {
    border: 2px solid #ef4444 !important;
    position: relative;
}

.selected::after {
    content: '✓';
    position: absolute;
    top: -0.625rem; 
    right: -0.625rem; 
    width: 1.25rem; 
    height: 1.25rem; 
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem; 
}    

/* 支付弹窗样式 */
.paymentPopup {
    padding: 1rem; 
}

.paymentHeader {
    text-align: center;
    margin-bottom: 1.25rem; 
}

.paymentAmount {
    font-size: 1.5rem; 
    font-weight: bold;
    color: #333;
}

.paymentTitle {
    font-size: 1rem; 
    color: #666;
    margin-top: 0.5rem; 
}

.paymentMethods {
    margin-bottom: 1.25rem; 
}

.paymentMethod {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0; 
    border-bottom: 1px solid #f0f0f0;
}

.methodLeft {
    display: flex;
    align-items: center;
}

.methodIcon {
    width: 1.5rem; 
    height: 1.5rem; 
    background-color: #1890ff;
    color: white;
    border-radius: 0.25rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem; 
    font-size: 0.875rem; 
}

.methodInfo {
    flex: 1;
}

.methodName {
    font-size: 1rem; 
    color: #333;
}

.methodDescription {
    font-size: 0.75rem; 
    color: #999;
    margin-top: 0.25rem; 
}

.methodSubDescription {
    font-size: 0.75rem; 
    color: #ff9500;
    margin-top: 0.25rem; 
}

.methodSelected {
    color: #ff0000;
    font-weight: bold;
}

.paymentFooter {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 1rem 0; 
}

.paymentConfirmButton {
    width: 100%;
    padding: 0.75rem; 
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 0.25rem; 
    font-size: 1rem; 
    font-weight: bold;
    margin-top: 3.75rem; 
}

.paymentConfirmButton:disabled {
    background-color: #ccc;
}


/* 广告领取会员容器 */
.adMemberContainer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem; 
    gap: 0.75rem; 
}

/* 单个广告会员盒子 */
.adMemberBox {
    flex: 1;
    background-color: #fff;
    border-radius: 0.5rem; 
    padding: 0.75rem; 
    align-items: center;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05); 
    border: 1px solid #f0f0f0;
}

/* 广告会员图标 */
.adMemberIcon {
    font-size: 1.5rem; 
    margin-right: 0.75rem; 
    color: #ff6b6b;
}

/* 广告会员内容区域 */
.adMemberContent {
    flex: 1;
}

/* 广告会员标题 */
.adMemberTitle {
    font-size: 0.875rem; 
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem; 
}

/* 广告会员描述 */
.adMemberDesc {
    font-size: 0.75rem; 
    color: #999;
}

/* 广告会员按钮 */
.adMemberButton {
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 0.25rem; 
    padding: 0.375rem 0.75rem; 
    font-size: 0.75rem; 
    margin-left: 0.75rem; 
    cursor: pointer;
    transition: background-color 0.2s;
}

.adMemberButton:hover {
    background-color: #ff5252;
}

.adContainer {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
  }
  
  .adVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
  }
  
  .closeButton {
    position: absolute;
    top: 0.75rem; 
    right: 0.75rem; 
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 0.9375rem; 
    padding: 0.25rem 0.75rem; 
    font-size: 0.875rem; 
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .closeButton:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .adBadge {
    position: absolute;
    bottom: 0.75rem; 
    right: 0.75rem; 
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 0.1875rem; 
    padding: 0.125rem 0.375rem; 
    font-size: 0.75rem; 
  }

/* 密码弹窗样式 */
.passwordPopup {
    text-align: center;
  }
  
  .passwordTitle {
    font-size: 1.125rem; 
    margin-bottom: 0.625rem; 
  }
  
  .paymentAmount {
    font-size: 1.5rem; 
    font-weight: bold;
    margin: 0.625rem 0; 
  }
  
  .paymentMethodInfo {
    color: #666;
    margin-bottom: 1.25rem; 
  }
  
  .passwordInput {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0; 
  }
  
  .passwordDot {
    width: 0.75rem; 
    height: 0.75rem; 
    border-radius: 50%;
    background-color: #333;
    margin: 0 0.5rem; 
  }
  
  .passwordHint {
    color: #ff6b6b;
    font-size: 0.75rem; 
    margin-bottom: 1.25rem; 
  }
  
  .keyboardRow {
    display: flex;
    justify-content: center;
    margin-bottom: 0.625rem; 
  }
  
  .keyboardKey {
    width: 3.75rem; 
    height: 3.125rem; 
    margin: 0 0.3125rem;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 0.3125rem; 
    font-size: 1.125rem; 
  }
  
  .passwordConfirm {
    width: 100%;
    padding: 0.75rem; 
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 0.3125rem; 
    margin-top: 1.25rem; 
  }

/* 银行卡列表样式 */
.bankList {
    margin-top: 20px;
  }
  
  .bankItem {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .bankIcon {
    width: 24px;
    height: 24px;
    background-color: #1890ff;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
  }
  
  .bankInfo {
    flex: 1;
  }
  
  .bankName {
    font-size: 14px;
  }
  
  .bankDiscount {
    font-size: 12px;
    color: #ff6b6b;
  }
  
  /* 密码弹窗样式 */
  .passwordHeader {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  .useFace {
    color: #1890ff;
    font-size: 14px;
  }
  
  .passwordInput {
    display: flex;
    justify-content: center;
    margin: 30px 0;
  }
  
  .passwordDot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #999;
    margin: 0 8px;
  }
  
  .passwordDot.active {
    background-color: #333;
  }
  
  .keyboard {
    margin-top: 20px;
  }
  
  .keyboardRow {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .keyboardKey {
    width: 70px;
    height: 50px;
    margin: 0 5px;
    border: none;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 20px;
  }
  
  .passwordConfirm {
    width: 100%;
    padding: 12px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  .forgotPassword {
    text-align: center;
    margin-top: 15px;
    color: #999;
    font-size: 14px;
  }

  /* 基础头像样式 */
.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd; /* 普通用户的灰色边框 */
  }
  
  /* VIP头像容器样式 */
  .vipAvatarContainer {
    position: relative;
    width: 80px;
    height: 80px;
  }
  
  /* VIP头像样式 */
  .vipAvatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFD700; /* 金色边框 */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }
  
  /* VIP标识样式 */
  .vipBadge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FFD700, #D4AF37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    color: #8B4513;
    font-weight: bold;
    font-size: 12px;
  }
  
  /* VIP发光效果 */
  .vipGlow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, rgba(255,215,0,0.3), rgba(255,215,0,0.1)); */
    animation: glow 2s infinite alternate;
  }
  
  @keyframes glow {
    from {
      box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    to {
      box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }
  }

/* 密码输入框样式 */
.passwordDialog {
    padding: 12px;
  }
  
  .passwordInput {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 8px;
  }
  
  .passwordDot {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    background-color: white; /* 添加白色背景 */
  }
  
  .errorMessage {
    color: #f5222d;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .keyboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
  }
  
  .key {
    height: 50px;
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background-color: #fff;
    cursor: pointer;
  }
  
  .key:active {
    background-color: #f5f5f5;
  }

  /* 在VipPage.module.css中添加 */
.skeletonContainer {
  padding: 15px;
}

.skeletonItem {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeletonUserInfo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.skeletonAvatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 15px;
}

.skeletonText {
  flex: 1;
}

.skeletonTabs {
  display: flex;
  margin-bottom: 20px;
}

.skeletonTab {
  flex: 1;
  height: 40px;
  margin-right: 10px;
}

.skeletonTab:last-child {
  margin-right: 0;
}